package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsRole;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Set;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project E-commercebackGroundManagementSystem
 * @date 2022/9/20 21:38
 */
public interface DtsRoleService {
    //List<String> selectRoles(Integer[] roleIds);

    Set<String> queryByIds(Integer[] roleIds);

    List<CatVo> findCatVoList();


    IPage<DtsRole> findRoleList(int page, int limit, String sort, String order);

    void createRole(DtsRole dtsRole);

    void updateRole(DtsRole dtsRole);

    void deleteRole(DtsRole dtsRole);
}
